﻿/*****************************************************************//**
 * @file    FITKAcousticsVTKViewAdaptorSEAJunctionArea.h
 * @brief   Adaptor for SEA junction area data.
 *  
 * @author  ChengHaotian (yeguangbaozi@foxmail.com)
 * @date    2024-11-15
 *********************************************************************/

#ifndef __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONAREA_H__
#define __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONAREA_H__

#include "FITKAcousticsVTKViewAdaptorBase.h"

#include "FITKAcousticsVTKGraphAdaptorAPI.h"

namespace Exchange
{
    /**
     * @brief   Graph object data adaptor for 'SEA junction area'.
     * @author  ChengHaotian (yeguangbaozi@foxmail.com)
     * @date    2024-11-15
     */
    class FITKACOUSTICSGRAPHADAPTORAPI FITKAcousticsVTKViewAdaptorSEAJunctionArea : public FITKAcousticsVTKViewAdaptorBase
    {
        // Regist
        FITKCLASS(Exchange, FITKAcousticsVTKViewAdaptorSEAJunctionArea);

    public:
        /**
         * @brief   Constructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-15
         */
        explicit FITKAcousticsVTKViewAdaptorSEAJunctionArea() = default;

        /**
         * @brief   Destructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-15
         */
        ~FITKAcousticsVTKViewAdaptorSEAJunctionArea() = default;

        /**
         * @brief   Execute the data exchange.[override]
         * @return  Is OK
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-15
         */
        bool update() override;

    };

    // Regist SEA junction area adaptor
    Register2FITKViewAdaptorFactory(SEAJunctionArea, Acoustics::FITKSEAJunctionArea, FITKAcousticsVTKViewAdaptorSEAJunctionArea);
}   // namespace Exchange

#endif // __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONAREA_H__